package cn.iocoder.ny.module.mall.controller.admin.product.dto;


import cn.iocoder.ny.module.mall.domain.MallProduct;
import cn.iocoder.ny.module.mall.domain.MallProductSpecification;
import lombok.Data;

import javax.validation.Valid;
import java.util.ArrayList;
import java.util.List;

/**
 * @author luchunhong
 * @date 2024/08/06/ 13:44
 * @description:
 */

@Data
public class MallProductDTO  {

    private MallProduct mallProduct;
    private List<MallProductSpecification> mallProductSpecifications;
    // 判断复制
    private Integer copyDecide;
    // 删除用的ids
    private List<Long> ids;
    // 租户id
    private Long tenantId;

    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public Integer getCopyDecide() {
        return copyDecide;
    }

    public void setCopyDecide(Integer copyDecide) {
        this.copyDecide = copyDecide;
    }

    public MallProduct getMallProduct() {
        return mallProduct;
    }

    public void setMallProduct(MallProduct mallProduct) {
        this.mallProduct = mallProduct;
    }


    public List<MallProductSpecification> getMallProductSpecifications() {
        return mallProductSpecifications;
    }

    public void setMallProductSpecifications(List<MallProductSpecification> mallProductSpecifications) {
        this.mallProductSpecifications = mallProductSpecifications;
    }

    public MallProductDTO() {
        this.mallProduct = new MallProduct();
        this.mallProductSpecifications = new ArrayList<>();
    }

}
